package com.nengchuan.kbms.dfs.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nengchuan.kbms.common.XmlPageDTO;
import com.nengchuan.kbms.dfs.annotation.Relation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户文件列表 DTO
 * </p>
 *
 * @author abe
 * @since 2020-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserFilePageDTO 对象", description = "用户文件列表 DTO")
public class UserFilePageDTO extends XmlPageDTO {

    @ApiModelProperty(value = "用户文件夹id", position = 10)
    @Relation(Relation.Bind.EQ)
    private Long userFolderId;

    @ApiModelProperty(value = "文件名", position = 20)
    @Relation(Relation.Bind.LIKE)
    private String fileName;

    /**
     * 当前用户id
     */
    @JsonIgnore
    private Long createId;

    // TODO 加入是否检索子文件中的文件
}
